<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Admin login</title>
        <link rel="stylesheet" type="text/css" href="/css/message.css" media="all" />
        <link rel="stylesheet" type="text/css" href="/css/datepicker.css" media="all" />
        <link rel="stylesheet" type="text/css" href="/css/jquery.fancybox-1.3.0.css" media="all" />
        <link rel="stylesheet" type="text/css" href="/css/jquery.wysiwyg.css" media="all" />
        <link rel="stylesheet" type="text/css" href="/css/screen.css" media="all" />
        <link rel="stylesheet" type="text/css" href="/css/visualize.css" media="all" />
    </head>
    <body class="login">
        <div id="login_wrapper">
            <br class="clear"/>
            <div id="login_top_window">
                <img src="/images/top_login_window.png" alt="top window"/>
            </div>
            <div id="login_body_window">
                <div class="inner">
                    <form:form method="post" commandName="adminLoginViewModel" id="form_login" name="form_login">
                        <div class="errormsg">
                            <font color="red"><b><form:errors path="*" /></b></font>
                        </div>
                        <p>
                            Username <form:input path="username" title="Username" />
                        </p>
                        <p>
                            Password <form:password path="password" title="Password" />
                        </p>
                        <p style="margin-top:45px">
                            <input type="submit" value="Login" id="submit" name="submit" />
                        </p>
                    </form:form>
                </div>
            </div>
            <div id="login_footer_window">
                <img src="/images/footer_login_window.png" alt="footer window"/>
            </div>
            <div id="login_reflect">
                <img src="/images/reflect.png" alt="window reflect"/>
            </div>
        </div>
    </body>
</html>
